package cn.kgc.housedemo01.mapper;

import cn.kgc.housedemo01.pojo.HouseInfo;
import cn.kgc.housedemo01.pojo.HouseInfoExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface HouseInfoMapper {
    int countByExample(HouseInfoExample example);

    int deleteByExample(HouseInfoExample example);

    int deleteByPrimaryKey(Integer houseid);

    int insert(HouseInfo record);

    int insertSelective(HouseInfo record);

    List<HouseInfo> selectByExample(HouseInfoExample example);

    HouseInfo selectByPrimaryKey(Integer houseid);

    int updateByExampleSelective(@Param("record") HouseInfo record, @Param("example") HouseInfoExample example);

    int updateByExample(@Param("record") HouseInfo record, @Param("example") HouseInfoExample example);

    int updateByPrimaryKeySelective(HouseInfo record);

    int updateByPrimaryKey(HouseInfo record);
}